package cn.getech.data.metadata.service;

import cn.getech.data.metadata.model.res.CollectionTableOperateType2Res;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.getech.data.intelligence.common.utils.PageUtils2;
import cn.getech.data.metadata.entity.CollectionTableOperateEntity;
import cn.getech.data.metadata.model.req.collectiontableoperate.*;
import cn.getech.data.metadata.model.res.CollectionTableOperateListRes;

import java.util.List;
import java.util.Map;

/**
 * 采集表操作审计
 *
 * @author qiuxinglei
 * @email qiuxinglei@gmail.com
 * @date 2020-09-29 17:40:13
 */
public interface CollectionTableOperateService extends IService<CollectionTableOperateEntity> {

    PageUtils2<CollectionTableOperateEntity> queryPage(Map<String, Object> params);

    PageUtils2<CollectionTableOperateListRes> list(CollectionTableOperateListReq req);

    CollectionTableOperateType2Res info(Long operateId);

    void saveTableOperate(List<CollectionTableOperateEntity> tableOperateList);
}

